package com.bill99.rpc.config;

import com.bill99.rpc.container.ServerInfo;

/**
 * @author sheng.zhang
 */
public class ServiceConfig extends AbstractConfig {

	private static final long serialVersionUID = 1L;
	protected String protocol;
	protected Object service;
	protected String loadbalance;
	protected ServerInfo serverInfo;

	public Object getService() {
		return service;
	}

	public void setService(Object service) {
		this.service = service;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getLoadbalance() {
		return loadbalance;
	}

	public void setLoadbalance(String loadbalance) {
		this.loadbalance = loadbalance;
	}

	public ServerInfo getServerInfo() {
		return serverInfo;
	}

	public void setServerInfo(ServerInfo serverInfo) {
		this.serverInfo = serverInfo;
	}

}
